﻿<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
	content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'
	name='viewport' />
<meta name="viewport" content="width=device-width" />
<title>Zoro - Album</title>
<link href="/css/bootstrap.min.css" rel="stylesheet" />
<link href="/css/light-bootstrap-dashboard.css" rel="stylesheet" />
<link href="/css/font-awesome.min.css" rel="stylesheet">
<link href="/css/pe-icon-7-stroke.css" rel="stylesheet" />
<link href="/js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
</head>
<body>

	<div class="wrapper">
		<div th:replace="admin/include/menu :: #layout-menu"></div>
		<div class="main-panel">
			<div th:replace="admin/include/top :: #layout-top"></div>
			<div class="content">
				<div class="container-fluid">
					<div class="row">
						<div class="col-md-12">
							<div class="card">
								<div class="content">
										<legend><span th:text="${topics.title}">活动主题</span> (Total:<span th:text="${topics.photos}"></span>)
											<button type="button" style="float: right;margin-top: -11px;" class="btn btn-info" onclick="javascript:window.location.href='/admin/topics/list'">
												<i class="fa fa-arrow-left"></i> 返 回
											</button>
										</legend>
										<a th:each="photo:${photos}" class="fancybox" th:href="${photo.filePath}" th:title="${photo.fileName}">
				                            <img alt="image" th:src="${photo.filePath}" />
				                        </a>
									</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<script src="/js/jquery-ui.min.js" type="text/javascript"></script>
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/js/light-bootstrap-dashboard.js" type="text/javascript"></script>
<script src="/js/plugins/fancybox/jquery.fancybox.js" type="text/javascript"></script>
<script>
    $(document).ready(function () {
        $('.fancybox').fancybox({
            openEffect: 'none',
            closeEffect: 'none'
        });
    });
</script>
</html>
